package com.engine4cloud.tdf.supervision.dto.result;

import com.engine4cloud.tdf.common.core.constant.enums.NormalAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 警告
 *
 * @author wenjie
 * @date 2024-04-11 10:21:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "警告")
public class SpWarningResultDTO extends CreateTimeResultDTO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 矫正人员编号
     */
    @Schema(description = "矫正人员编号")
    private String rybh;

    /**
     * 流程编号
     */
    @Schema(description = "流程编号")
    private String lcbh;

    /**
     * 警告理由
     */
    @Schema(description = "警告理由")
    private String jgly;

    /**
     * 警告理由名称
     */
    @Schema(description = "警告理由名称")
    private String jglymc;

    /**
     * (司法所)申请人
     */
    @Schema(description = "(司法所)申请人")
    private String sqr;

    /**
     * 申请时间
     */
    @Schema(description = "申请时间")
    private LocalDateTime sqsj;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String bz;

    /**
     * 审核动作
     */
    @Schema(description = "审核动作", example = "CREATE")
    private NormalAuditActionStatusEnum preAction;

    /**
     * 警告依据(法律文书)
     */
    @Schema(description = "警告依据(法律文书)", example = "[{\"name\": \"张三****.doc\",\"url\": \"/users/张三****.doc\"}]")
    private List<JzdxFileResultDTO> instrumentList;
}